﻿using Seggu.Data;
using Seggu.Dtos;

namespace Seggu.Services.DtoMappers
{
    public static class BankDtoMapper
    {
        public static BankDto GetDto(Bank bank)
        {
            var dto = new BankDto();
            dto.Id = bank.Id.ToString();
            dto.Name = bank.Name;
            dto.Number = bank.Number;
            return dto;
        }
    }
}